@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12 col-xs-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>菜单管理</h5>
                <div class="ibox-tools">
                 	<a class="" href="###" onclick="window.history.go(0);"> <i class="fa fa-refresh refreshs" ></i></a>
                </div>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <!--<div class="col-sm-10 col-md-10 col-xs-10">-->
                        <div class="row highSearch highSearchGroup">
                            <div class="col-sm-4 col-md-4 col-xs-12">
                                <#NameCon id="name" label="菜单名称" placeholder="请输入菜单名称" />
                            </div>
                            <div class="col-sm-4 col-md-4 col-xs-12">
                                <#NameCon id="levels" label="层级" placeholder="请输入层次"/>
                            </div>
                           
                        </div>
                        <div class="hidden-xs" id="menuTableToolbar" role="group">
                            <div class="row">
                                <div class="col-sm-4 col-md-4 col-xs-12 normalSearch">
                                    <!-- 普通搜索可选项-->
                                    <#SelectConNormal id="normalFieldName">
                                    <option value="name">菜单名称</option>
                                    <option value="levels">层次</option>
                                </#SelectConNormal>
                                </div>
                            <div class="col-sm-4 col-md-4 col-xs-12 normalSearch normalSearchGroup" >
                                <!-- 普通搜索条件组-->
                                <#NameConNormal name="name"  placeholder="请输入菜单名称" style="display:block;"/>
                                <#NameConNormal name="levels"  placeholder="请输入层级" style="display:none;"/>
                            </div>
                            <div class="col-sm-4 col-md-4 col-xs-12 tl" id="change">
                                <!-- 普通搜索-->
                                <#buttonNormal name="搜索"  class="normalSearch" clickFun="Menu.vs.normalSearch();"/>
                                <!-- 高级搜索-->

                                <#buttonNormal name="搜索" class="highSearch" clickFun="Menu.vs.highSearch();"/>
                                <#buttonNormal name="清空" class="highSearch btnGray" clickFun="Menu.vs.highResetSearch();" />

                            </div>
                        </div>
                    </div>
                        <#table id="menuTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script>
    //用户权限
    var Authority={};
    Authority['add']=${shiro.hasPermission("/menu/add")};
    Authority['update']=${shiro.hasPermission("/menu/edit")};
    Authority['delete']=${shiro.hasPermission("/menu/remove")};
</script>
<script type="text/javascript" src="${ctxPath}/static/js/common/VSearch.js"></script>
<script src="${ctxPath}/static/modular/system/menu/menu.js"></script>
@}
